package com.practice.springboot_01_zwj.mapper;

import com.practice.springboot_01_zwj.entity.ProjectReport;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProjectReportMapper {
    int addProjectReport(ProjectReport projectReport);
    int updateProjectReport(ProjectReport projectReport);
    int deleteProjectReport(Integer keyId);
    List<ProjectReport> selectProjectReport(@Param("projectName") String projectName,
                                            @Param("projectType") String projectType);
    ProjectReport selectByKeyId(Integer keyId);
}
